﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="STT.Default" %>

<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="css/Home2.css" rel="stylesheet" />
    <link href="css/style-headers.css" rel="stylesheet" />
    <script  type="text/javascript" src="Profilehv/js/jquery.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2"></script>
    <script>
        $(function () {
            var button = $('#loginButton');
            var box = $('#loginBox');
            var form = $('#loginForm');
            button.removeAttr('href');
            button.mouseup(function (login) {
                box.toggle();
                button.toggleClass('active');
            });
            form.mouseup(function () {
                return false;
            });
            $(this).mouseup(function (login) {
                if (!($(login.target).parent('#loginButton').length > 0)) {
                    button.removeClass('active');
                    box.hide();
                }
            });
        });
        $('.to_top').click(function () {
            $('html, body').animate({ scrollTop: $('#go').position().bottom }, 'slow');      
        });


        var fixmeTop = $('.aa').offset().top;
        $(window).scroll(function () {
            var currentScroll = $(window).scrollTop();
            var scrollBottom = $(window).scrollTop() + $(window).height();
            if (currentScroll >= fixmeTop && $(document).height() > scrollBottom) {
                $('.aa').css({
                    position: 'fixed',
                    top: 0
                });
            } else {
                $('.aa').css({
                    position: 'static'
                });
            }
        });

    </script>
</head>
<body class="home boxed shadow p05">
   <div class="root">
	<header class="h7 sticky-enabled no-topbar" style="top: 0px;">
		<section class="top">
			<div>
				<p>Call us:01234567899| E-mail: CNTT@epu.edu.vn</p>
				<nav>
					<ul runat="server" id="lg">					
                        <li class="right"><a href="#">Hỗ trợ</a></li>
						<li class="parent"><%--<a href="shortcodes.html">Shortcodes</a>--%>
                            <a id="loginButton" class=""><span >Đăng nhập</span>
                                <%-- <i class="icon-lock"></i> Đăng nhập <span class="dropdown-arrow">▼</span>--%>
                            </a>
                            <div id="loginContainer">
                            <div style="clear:both"></div>
                            <div id="loginBox" style="display: none">                
                                <form id="loginForm" runat="server">
                                    <fieldset id="body">
                                        <fieldset>
                                            <label for="email">Tên đăng nhập</label>
                                             <asp:TextBox ID="username" CssClass="form-control" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ToolTip="Bạn chưa nhập tên đăng nhập" ForeColor="Red" Font-Bold="true" ControlToValidate="username" runat="server" ErrorMessage="*" ValidationGroup="dn"></asp:RequiredFieldValidator>
                                        </fieldset>
                                        <fieldset>
                                            <label for="password">Mật khẩu</label>
                                            <asp:TextBox ID="password"  TextMode="Password" runat="server" CssClass="form-control"></asp:TextBox>
                                             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ToolTip="Bạn chưa nhập tên mật khẩu" ForeColor="Red" Font-Bold="true" ControlToValidate="Password" runat="server" ErrorMessage="*" ValidationGroup="dn"></asp:RequiredFieldValidator>
                                        </fieldset>
                                        <div class="signcheck">
                                        <asp:Button ID="btnSignin" runat="server" ValidationGroup="dn" Text="Sign in" OnClick="btnSignin_Click" Width="100px" CssClass="Signin" />
                                         <asp:CheckBox ID="ckghinho" runat="server"/><span style="color:black;padding:5px;font-weight:bold">Nhớ tài khoản</span>
                                        </div>
                                        <br />
                                        <asp:Label ID="lblthongbao" Visible="false" CssClass="lblthongbao" runat="server" Text="Bạn nhập thông tin sai"></asp:Label>
                                    </fieldset>
                                    <span><a href="#">Quên mật khẩu?</a></span>
                                </form>
                             </div>
                             </div>
						</li>												
						<li class="right">
                         </li>
					</ul>
                    <ul runat="server" id="hello" visible="false">
                         <li class="right"><asp:Label ID="Label1" runat="server" Text="Xin chào"></asp:Label>
                        <asp:HyperLink ID="lbltendn" runat="server" NavigateUrl="~/Profilehv/Default.aspx"></asp:HyperLink>
                          </li>
                    </ul>
				</nav>
			</div>
		</section>
		<section class="main-header">
                <a href="Default.aspx" class="logo">
                 <div id="logo" style="Width:9% ;float:left;margin-bottom:7px;">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/img/logo.png" Width="89%" />
                </div>
                 <div id="banner" style="Width:46%;float:left">
                     <asp:Image ID="Image2" runat="server" CssClass="imglogo" ImageUrl="~/img/banner.png"/>
                </div>
                </a> 
	        <%--<nav class="social">
				<ul>
					<li><a href="#" class="facebook">Facebook</a></li>
					<li class="right"><a href="#" class="twitter">Twitter</a></li>
					<li class="right"><a href="#" class="googleplus">Google+</a></li>
					<li class="right"><a href="#" class="pinterest">Pinterest</a></li>
					<li class="right"><a href="#" class="rss">RSS</a></li>
				</ul>
			</nav>--%>
			<nav class="mainmenu">
				<ul>
					<li class="current-menu-item parent"><a href="Default.aspx?mod=Home">Trang chủ</a>
					</li>					
					<li class="parent"><a href="Default.aspx?mod=GT1303">Giới thiệu</a>
					</li>
					<li class="parent"><a href="#go" class="to_top">Tin tức và sự kiện</a>				
					</li>
					<li class="parent"><a href="Default.aspx?mod=KHNH1411">Khóa học</a>				
					</li>					
					<li class="parent"><a href="Default.aspx?mod=LHQT1314">Liên hệ</a>
					</li>				
				</ul>
			</nav>
			<div class="clear"></div>
		</section>
	</header>
    <div style="width:100%">
        <asp:PlaceHolder ID="plhome" runat="server"></asp:PlaceHolder>
    </div>
    <section class="content">
		<section class="columns portfolio">
			<h2><a id="go"><span>Tin tức và sự kiện</span></a></h2>
                    <asp:DataList ID="dlltintuc" runat="server" Width="100%" RepeatColumns="3" >
                        <ItemTemplate>
                            <article class="col3">
                                 <div style="width:100%">
                                   <p class="img"><a href="#"><span class="img-border"><img src="img/Home2/82.jpg" alt=""></span></a></p> 
                                    <asp:HyperLink ID="HyperLink1" NavigateUrl='<%# "../Default.aspx?mod=TTSK1303"+ "&&key=" +Eval("MaTT") %>' ToolTip='<%#Eval("tieude")%>' runat="server" Text='<%#Eval("tieude")%>' Width="240px" CssClass="texttitle"></asp:HyperLink>
				                </div>
				                <div style="width:100%"><p class="texttitle">
                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("NDtomtat") %>' ToolTip='<%# Eval("NDtomtat") %>'></asp:Label></p></div><br />
                                <p class="more"><a href='<%# "../Default.aspx?mod=TTSK1303"+ "&&key=" +Eval("MaTT") %>'>Chi tiết</a></p>
			                </article>
                        </ItemTemplate>
                    </asp:DataList>
                     <div align="center" style="color:blue;font-size:13px;">
                     <cc1:CollectionPager ID="cpl" runat="server" PageNumbersDisplay="Numbers" MaxPages="50"
                         BackText="" FirstText="" LabelText="" LastText="" NextText="" ResultsFormat=""
                        ShowLabel="true" ShowPageNumbers="True" PageNumbersSeparator="&amp;nbsp;" >
                        </cc1:CollectionPager>
                      </div>  
		</section>
	</section>
	<footer>
		<section class="widgets"><article>
				<h3><span>Liên hệ</span></h3>
				<p>Khoa Công Nghệ Thông Tin<br>Đại Học Điện Lực<br>Phone:01234567899<br>E-mail:<a href="mailto:contact@example.com">CNTT@epu.edu.vn</a></p>
			</article><article class="widget_links">
				<h3><span>Liên kết</span></h3>
				<ul>
					<li><a href="#">Khoa CNTT-Đại Học Điện Lực</a></li>
					<li><a href="#">Tập Đoàn Điện Lực</a></li>
					<li><a href="#">Đại Học Điện Lực</a></li>
				</ul>
			</article>
            <article class="widget_newsletter">
				<h3><span>Đăng Ký</span></h3>
				<p></p>
				<form action="#" method="post" class="newsletter-subscribe-form">
					<p><input name="MAIL" id="news_email" placeholder="Your e-mail"> 
                    <button type="submit" name="subscribe" id="subscribe" value="1">
                        <img src="images/mail.png" alt="Subscribe"></button>
					</p>
				</form>
			</article>
		</section>
		<section class="bottom">
			<p>Copyright 2014 <a href="#">Khoa CNTT - Đại Học Điện Lực</a> 
			<nav class="social">
				<ul>
					<li><a href="#" class="facebook">Facebook</a></li>
					<li><a href="#" class="twitter">Twitter</a></li>
					<li><a href="#" class="googleplus">Google+</a></li>					
				</ul>
			</nav>
		</section>
	</footer>
       <a href="#top" class="go-top" style="display: none;">Lên đầu trang</a>
   </div>
    <script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
	<script>
	    (function (i, s, o, g, r, a, m) {
	        i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
	            (i[r].q = i[r].q || []).push(arguments)
	        }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
	    })(window, document, 'script', '../../www.google-analytics.com/analytics.js', 'ga');

	    ga('create', 'UA-43144299-1', 'thememotive.com');
	    ga('send', 'pageview');

	</script>
</body>
</html>
